Skip to content

for #25762: Add platform and python version info to user-agent#70

Merged
brandonvfx merged 1 commit intomasterfrom
25762_add_platform_to_user_agent
Jul 1, 2014
Merged

for #25762: Add platform and python version info to user-agent#70
brandonvfx merged 1 commit intomasterfrom
25762_add_platform_to_user_agent

Conversation

@kporangehat
Copy link
Copy Markdown

Adding the platform that the script is running on, and python version in order to be a little more consistent with the user-agent that any typical browser would send.

There's also server-side code that attempts to assign the platform for the current user. Since the API doesn't send any information that helps the server determine what platform it's running from, the server sets it to blank. This could possibly cause issues when doing things like matching against LocalStorage paths, etc. which require platform information.

Old default user agent string: shotgun-json (3.0.17)
New default user agent string: shotgun-json (3.0.17); Python 2.6 (Mac)

brandonvfx added a commit that referenced this pull request Jul 1, 2014
…r_agent

for #25762: Add platform and python version info to user-agent
@brandonvfx brandonvfx merged commit 854e645 into master Jul 1, 2014
@brandonvfx
Copy link
Copy Markdown
Contributor

Looks good, :shipit:

@jfboismenu jfboismenu deleted the 25762_add_platform_to_user_agent branch April 5, 2018 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants